package com.yuke.cloud.service.smc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@ApiModel(value="com.yuke.cloud.service.smc.entity.ShopPayment")
public class ShopPayment {
    /**
     * 店铺ID，主键，自增
     */
    @Id
    @Column(name = "payment_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value="paymentId缴费记录id，主键，自增")
    private Long paymentId;

    @Column(name = "pay_amount")
    @ApiModelProperty(value="店铺缴费金额")
    private Integer payAmount;

    @Column(name = "shop_id")
    @ApiModelProperty(value="店铺id与店铺shop表关联")
    private Long shopId;

    @Column(name = "single_price")
    @ApiModelProperty(value = "缴费金额的最小单位，即每个月需缴纳多少费用")
    private Integer singlePrice;

    @Column(name = "pay_status")
    @ApiModelProperty(value = "是否支付成功")
    private Boolean payStatus;

    @Column(name = "pay_cycle")
    @ApiModelProperty(value = "缴费周期为几个月")
    private Integer payCycle;

    @Column(name = "pay_time")
    @ApiModelProperty(value = "缴费时间")
    private Date payTime;

    @Column(name = "end_time")
    @ApiModelProperty(value = "店铺到期时间")
    private Date endTime;

    public Long getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Long paymentId) {
        this.paymentId = paymentId;
    }

    public Integer getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Integer payAmount) {
        this.payAmount = payAmount;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getSinglePrice() {
        return singlePrice;
    }

    public void setSinglePrice(Integer singlePrice) {
        this.singlePrice = singlePrice;
    }

    public Boolean getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Boolean payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayCycle() {
        return payCycle;
    }

    public void setPayCycle(Integer payCycle) {
        this.payCycle = payCycle;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
